Skip to content

Fix/delegation role name - #562

Merged
maycon-mello merged 3 commits into
masterfrom
fix/delegation-role-name
Jul 22, 2026
Merged

Fix/delegation role name#562
maycon-mello merged 3 commits into
masterfrom
fix/delegation-role-name

Conversation

@maycon-mello

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves delegation offer previews by including a human-readable label for the delegation role (in addition to the existing role identifier), so consumers can display a friendly role name without additional policy lookups.

Changes:

  • Import getRole from delegation-policy to resolve role metadata from the policy.
  • Extend DelegationOfferPreview to include an optional roleLabel.
  • Populate roleLabel in createOOBInvitation using the role’s label from the delegation policy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@maycon-mello
maycon-mello merged commit 159f753 into master Jul 22, 2026
12 checks passed
@maycon-mello
maycon-mello deleted the fix/delegation-role-name branch July 22, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants